<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid silver; background-color:#fefefe">
	<tr>
		<td>
		<table cellpadding="0" cellspacing="0">
			<tr>
				<td style="padding:0px 10px 0px 10px; border-right:1px solid silver"><a href="#" target="_self" onClick="checkboxStatus('ids',true); return false;">{t t="Žymėti visus"}</a></td>
				<td style="padding:0px 10px 0px 10px; border-right:1px solid silver"><a href="#" target="_self" onClick="checkboxStatus('ids',false); return false;">{t t="Nuimti žymėjimą"}</a></td>
				<td width="33"  height="20" align="center"><img src="_tvs_system_core_/design/img/admin/_icon_delete.gif"></td>
				<td style="padding:0px 10px 0px 0px; border-right:1px solid silver"><a href="#" onClick="if (confirm('{t t='confirm_delete_many'}')) {ldelim}document.forms['child_list']['parent'].value=''; window.document.forms['child_list']['act'].value='del_order_mas'; window.document.forms['child_list'].submit(); child_list.submit(){rdelim}" target="_self"><nobr>{t t='Trinti pažymėtus elementus'}</a></td>
				<!-- *  -->
				<!--
				<td style="  padding:0px 10px 0px 10px; ">{t t="Rodyti tik"}:</td>
				<td style="border-right:1px solid silver; ">
				<select style="width:210px; margin:2px 20px 2px 0px " name="form_object_id" onChange="doTheFiltering(this,'form_object_id')">					
					<option value="-1" {if $smarty.get.form_name==$list_item.name} selected{/if}>{t t='Visos formos'}</option>
					{foreach from=$data.aditionalelements.list item="list_item"}						
						{if $list_item.type=='block_form'}
						<option value="{$list_item.id}" {if $smarty.get.form_object_id==$list_item.id} selected{/if}>{$list_item.name}</option>
						{/if}
					{/foreach}							
				</select>		
				</td>
				-->
				<!-- /*  -->
				{if $smarty.get.tpl_act!='order_archive'}
					<td style="padding:0px 10px 0px 10px; border-right:1px solid silver;">
						<a  onClick="if (confirm('{t t='confirm_archive_many'}')) {ldelim}window.document.forms['child_list']['act'].value='archive_order_mas'; window.document.forms['child_list']['status'].value='1'; window.document.forms['child_list'].submit();{rdelim}" href="#">{t t='Archyvuoti pažymėtus'}</a>
					</td>
				{else}
					<td style="padding:0px 10px 0px 10px; border-right:1px solid silver;">
						<a  onClick="if (confirm('{t t='confirm_unarchive_many'}')) {ldelim}window.document.forms['child_list']['act'].value='archive_order_mas'; window.document.forms['child_list']['status'].value='0'; window.document.forms['child_list'].submit();{rdelim}" href="#">{t t='Išarchyvuoti pažymėtus'}</a>
					</td>				
				{/if}	
				<!-- * puslapiavimas -->
				{ext->countArray array=$order_all assign="ccount"}
				{if $ccount>$_var.orders_per_page}						
				<td style="  padding:0px 10px 0px 10px; ">{t t="Užsakymai"}:</td>
				<td style="border-right:1px solid silver; padding:0px 20px 0px 0px">				
				<select style="width:250px; margin:2px 20px 2px 0px " name="order_list_page_nr" onChange="doTheFiltering(this,'order_list_page_nr')">					
					{foreach from=$page_data.pages item="el"}
						<option value="{$el.number}" {if $page_data.current_page.number==$el.number} selected{/if}>{t t='Puslapis'} {$el.number} ({t t='nuo'} {math equation="x*y-y" x=$el.number y=$_var.orders_per_page} {t t='iki'} {math equation="x*y" x=$el.number y=$_var.orders_per_page})</option>
					{/foreach}
				</select>								
				</td>
				{/if}							
				<!-- /* puslapiavimas -->
			</tr>
		</table>
		</td>		
	</tr>
</table>